﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mas/masMantEditar.master" AutoEventWireup="true"
    CodeFile="segVentanaEditar.aspx.cs" Inherits="segVentanaEditar" %>
<%@ MasterType TypeName="masMantEditar" %>
<script runat="server">
    protected void hfIdVentana_ValueChanged(object sender, EventArgs e)
    {

    }

</script>
<asp:Content ID="Content1" ContentPlaceHolderID="cphArea" runat="Server">   
    <script language="javascript" type="text/javascript">

        function fnValidar() {
            if (!fnValidarGeneral())
                return false;
            return true;
        }

        function fnValidarGeneral() {

            var txtDescripcion = this.document.getElementById('<%= txtDescripcion.ClientID %>')
            if (txtDescripcion.value == "") {
                alert('Debe ingresar la descripci\u00F3n del Menú.');
                txtDescripcion.focus();
                return false;
            }
            return true;
        }

        
    </script>
    <div id="edicion">
        <asp:Panel ID="pnlEdicion" runat="server">
            <table class="forma" width="100%">
                <colgroup>
                    <col width="20%" />
                    <col />
                    <col width="10%" />
                    <col width="20%" />
                    <col width="10%" />
                    <col width="40%" />
                </colgroup>
                 <tr class="forma_grupo">
                    <td colspan="4"> Datos Generales</td>
                     <td>
                         &nbsp;</td>
                     <td>
                         &nbsp;</td>
                </tr>

                <tr>
                    <td style="text-align:right; width: 76px;">
                        <asp:Label ID="lblIdVentana" runat="server" Text="Id Men&amp;uacute; :"></asp:Label>
                    </td>
                    <td colspan="2"> 
                        <asp:TextBox ID="txtIdVentana" runat="server" MaxLength="10" Width="100px"></asp:TextBox>
                    </td>
                    <td style="text-align:right" >
                        <asp:Label ID="lblIdAplicacion" runat="server" Text="Aplicaci&amp;oacute;n :"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlIdAplicacion" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right; width: 76px;">
                        <asp:Label ID="lblDescripcion" runat="server" Text="Descripci&amp;oacute;n:"></asp:Label>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="txtDescripcion" runat="server" MaxLength="100" Width="230px"></asp:TextBox>
                    </td>
                    <td>
                        </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right; width: 76px;">
                        <asp:Label ID="lblMenu" runat="server" Text="Menú :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMenu" runat="server" MaxLength="100" Width="229px" 
                            ></asp:TextBox>

                    </td>
                    <td style="text-align:right; width: 10%;">
                        &nbsp;</td>
                    <td style="text-align:right">
                        <asp:Label ID="lblVentana" runat="server" Text="Ventana :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtVentana" runat="server" MaxLength="100" Width="340px"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right; width: 76px;">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td style="text-align:right; width: 10%;">
                        &nbsp;</td>
                    <td style="text-align:right" >
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr class="forma_grupo">
                    <td colspan="4"> Datos de Auditor&iacute;a</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>

                
                <tr>
                    <td style="text-align:right; height: 19px; width: 76px;">
                        <asp:Label ID="lblEstado" runat="server" Text="Estado:"></asp:Label>
                    </td>
                    <td style="height: 19px">
                        <asp:DropDownList ID="ddlEstado" runat="server">
                            <asp:ListItem Value="A">Activo</asp:ListItem>
                            <asp:ListItem Value="I">Inactivo</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td style="height: 19px; width: 10%;">
                    </td>
                    <td style="height: 19px">
                        </td>
                    <td style="height: 19px">
                        &nbsp;</td>
                    <td style="height: 19px">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right; height: 22px; width: 76px;">
                        <asp:Label ID="lblUsuarioCreacion" runat="server" 
                            Text="Usuario Creaci&amp;oacute;n:"></asp:Label>
                    </td>
                    <td style="height: 22px">
                        <asp:TextBox ID="txtUsuarioCreacion" runat="server" BackColor="#EAF2F5" 
                            Enabled="False" Width="100px"></asp:TextBox>
                    </td>
                    <td style="text-align:right; height: 22px; width: 10%;">
                        <asp:Label ID="lblFechaCreacion" runat="server" 
                            Text="Fecha Creaci&amp;oacute;n:"></asp:Label>
                    </td>
                    <td style="height: 22px">
                        <asp:TextBox ID="txtFechaCreacion" runat="server" BackColor="#EAF2F5" 
                            Enabled="False" Width="125px"></asp:TextBox>
                    </td>
                    <td style="height: 22px">
                        &nbsp;</td>
                    <td style="height: 22px">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right; width: 76px;">
                        <asp:Label ID="LblUsuarioModificacion" runat="server" 
                            Text="Usuario Modificaci&amp;oacute;n:"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtUsuarioModificacion" runat="server" BackColor="#EAF2F5" 
                            Enabled="False" Width="100px"></asp:TextBox>
                    </td>
                    <td style="text-align:right; width: 10%;">
                        <asp:Label ID="LblFechaModificacion" runat="server" 
                            Text="Fecha Modificaci&amp;oacute;n:"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtFechaModificacion" runat="server" BackColor="#EAF2F5" 
                            Enabled="False" Width="125px"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width: 76px">
                        
                    </td>
                    <td>
                        &nbsp;</td>
                    <td style="width: 10%">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </asp:Panel>
    </div>
    <asp:HiddenField ID="hfIdVentana" runat="server" 
        onvaluechanged="hfIdVentana_ValueChanged" />
    <asp:HiddenField ID="hfAccion" runat="server" />
</asp:Content>
